﻿using System;
using System.Linq;

    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            int factorialN = 1;
            int factorial2N = 1;
            double catalanNum;
            for (int i = 1; i <= n; i++)
            {
                factorialN *= i;
            }
            Console.WriteLine(factorialN);
            for (int i = 1; i <= 2*n; i++)
            {
                factorial2N *= i;
            }
            Console.WriteLine(factorial2N);
            catalanNum = factorial2N /( (n + 1) * factorialN);
            Console.WriteLine(catalanNum);
             
        }
    }

